#ifndef VIDEO_PLAY_H
#define VIDEO_PLAY_H

#include <QObject>

class videoplay : public QObject
{
    Q_OBJECT

public:
    explicit videoplay(QObject *parent = 0);
    void setDelayMS(unsigned int delay);

signals:
    void showVideo();
    void showVideo2();

public slots:
    void StartVideo();
    void StopVideo();
    void StartVideo_2();
    void StopVideo_2();

private slots:
    void play_video();
    void play_video_2();

private:
    bool stopped;
    bool running;
    bool stopped2;
    bool running2;
    unsigned int videoDelay;
};

#endif // VIDEO_PLAY_H
